package cn.edu.sdjzu.xg.eagle.xg23_kcsj_01.controller;

import cn.edu.sdjzu.xg.eagle.xg23_kcsj_01.entity.FundArrival;
import cn.edu.sdjzu.xg.eagle.xg23_kcsj_01.service.FundArrivalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class FundArrivalController {
    @Autowired
    private FundArrivalService fundArrivalService;

    @PostMapping("fundArrivals")
    public String save(@RequestBody FundArrival fundArrival) {
        return fundArrivalService.save(fundArrival);
    }


}